package com.tansuo365.test1.bean.otherbean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Transient;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class HuiShouZhixing {
    private Integer id;

    private String mingchengguige;

    private String danwei;

    private String duiyingchukudanhao; //对应出库单号,可以根据出库单号和名称规格来查出库执行汇总,获取该物品的退库数量

    private Double chukushuliang; //出库数量

    private Double tuikushuliang; //退库数量

    private Double huishoushuliang; //回收数量

    private Double weihuishoushuliang; //未回收数量

    private String liangliaodanwei; //领料单位 ,ly那2货打错字了

    private String liangliaoren; //领料人

    private Integer what;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chukushijian;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createtime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatetime;

    private String huishouzhuangtai;

    private String duiyinghuishoudanhao;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Transient
    private String s_btime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Transient
    private String s_etime;

    @Transient
    private String sort;
    @Transient
    private String order;

}